const Mock=require("mockjs");
const data=Mock.mock({
    "list|50":[{
        name:"@cname",
        id:"@id"
    }]
})

module.exports = {
    devServer:{
        before(app)
        {
            app.get("/list",(req,res)=>
            {
                res.send(data.list)
            })
        }
    }
}